CSS in JS
CSS in JavaScript
https://docs.google.com/presentation/d/1jOAu0pjqt2R-3CWP9bLsTN5siUpYGPjo22fcyAfU9eM/edit#slide=id.p1
Zero-Runtime CSS in JS
https://qiita.com/jagaapple/items/7f74fc32c69f5b731159
https://sebastienlorber.com/atomic-css-in-js
atomic css in js
styled-components
Fower
https://github.com/forsigner/fower
Stiches
CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.
https://stitches.dev/
2021/8にv1.0.0が出た
https://stitches.dev/blog/stitches-1.0.0
goober
https://github.com/cristianbote/goober
https://qiita.com/Takazudo/items/78ee15564bfefdea844c#goober
tailwindの記事だけど一部触れられている
普通のCSSみたいにclassに対しても書けるし、
styled-componentsみたいにcomponetとしてstyleを定義することもできる
Windi CSS
xStyled
Stitches
Fower
https://fower.vercel.app/
CSS Frameworkとごっちゃになっているmrsekut.icon
CSS-in-JSのパラダイムシフト
CSS in JSのこれまでの流れがわかる良い記事
JSで定義したstyleから、CSS objectをruntimeで作成し、<style/>に挿入する
これがemotionやstyled-componentsなど
runtimeでstyling処理をするのでパフォーマンスの問題がある
そこで、Zero-Runtime CSS in JSが登場する
build時に静的なCSSを作成するため、実行時には計算不要
https://2023.stateofcss.com/en-US/css-in-js/
State of CSS 2023
https://github.com/andreipfeiffer/css-in-js
https://tech.plaid.co.jp/karte-blocks-vanilla-extract-adr/
https://speakerdeck.com/vjeux/react-css-in-js
https://css-tricks.com/a-thorough-analysis-of-css-in-js/
https://blog.uhy.ooo/entry/2020-10-03/react-wc/
/miyamonz/CSS in JS調査